/*
 * InformationContainer.h
 *
 *  Created on: 2011-1-26
 *      Author: Administrator
 */

#ifndef INFORMATIONCONTAINER_H_
#define INFORMATIONCONTAINER_H_

#include <NormalContainer.h>
#include "TableDatas.h"

class CInformationContainer : public CNormalContainer
	{
public:
	CInformationContainer();
	static CInformationContainer* NewL( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	static CInformationContainer* NewLC( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	void ConstructL( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	virtual ~CInformationContainer();
	
public:
	void HandleControlEventL(CCoeControl* aControl,TEventType aEventType);
	void InitInformationContainerL(CRace* aRace, CViewTableData* aInfos, CTableDatas* aDatas);
	void InitContainerL(CTableDatas* aDatas);
	
private:
	CContainerControl* iInformationContainer;
	CViewTable* iTeamInfo;
	CTablesView* iTables;
	
	CViewTableData* iInfos;
	CTableDatas* iDatas;
	};

#endif /* INFORMATIONCONTAINER_H_ */
